from django.urls import path
from werobot.contrib.django import make_view
from Applications.WeChat.views import SendWeChatAPI, UpdateMenu
from utils.Robot.werobot import werobot

app_name = 'wechat'

urlpatterns = [
    path('', make_view(werobot), name='main'),
    path('send-email/', SendWeChatAPI.as_view(), name='send_wechat'),
    path('update-menu/', UpdateMenu.as_view(), name='update_menu'),
]